//
//  ExpressCompany.m
//  TengyunStation
//
//  Created by Johnny on 15/9/1.
//  Copyright (c) 2015年 xingrong. All rights reserved.
//

#import "ExpressCompany.h"
#import "SocketMethod.h"

@implementation ExpressCompany

- (id)initWithString:(NSString *)string {
    self = [super init];
    if (self) {
        NSArray *array = [string componentsSeparatedByString:@","];
        self.expressCompanyId = [SocketMethod subArray:array Index:0];
        self.expressCompanyName = [SocketMethod subArray:array Index:1];
        self.expressCompanyLogo = [SocketMethod subArray:array Index:2];
    }
    return self;
}

@end
